Skip to content

refactor(schematics): fix schematics#1483

Draft
akashsonune wants to merge 1 commit intomainfrom
refactor/fix-schematics
Draft

refactor(schematics): fix schematics#1483
akashsonune wants to merge 1 commit intomainfrom
refactor/fix-schematics

Conversation

@akashsonune
Copy link
Member

Describe in detail what your merge request does and why. Add relevant
screenshots and reference related issues via Closes #XY or Related to #XY.


Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request removes the missingTranslateMigrationRule from the v47to48Migration. This removal is concerning as it could lead to incomplete project migrations for users, potentially causing runtime issues with internationalization. The existing review comment highlights this potential regression and suggests restoring the rule, and it has been retained as it is valid and does not contradict any provided rules.

return chain([
elementMigrationRule({ ...options }, migrationData),
missingTranslateMigrationRule(options)
elementMigrationRule({ ...options }, migrationData)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The missingTranslateMigrationRule is being removed from the v47to48Migration, but it is still present in the v48to49Migration. This inconsistency suggests that removing it here might be a mistake. This rule handles important updates to ngx-translate configuration, and its absence could lead to runtime translation issues in applications that are upgraded to v48. This change introduces a potential regression.

      elementMigrationRule({ ...options }, migrationData),
      missingTranslateMigrationRule(options)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant